package com.cmfi.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.cmfi.domain.PlateChainLineSpeed;

// TODO 添加@Mapper
@Mapper
public interface SpeedMstDao {
	@Select("SELECT current FROM tbl_speedmst where id = 1")
	public PlateChainLineSpeed getCurrentEnergy();
 
    @Update("update tbl_apeedmst set current = #{current} where id = 1")
    public int update(PlateChainLineSpeed speedMst);
}
